xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install apr apr-util arping asciidoc autoconf automake bash bdw-gc berkeley-db binutils \
binwalk boost brotli bzip2 c-ares cmake coreutils curl dash diffutils docbook e2fsprogs \
fastjar findutils flex freetype gawk gcc gdbm gettext git git-extras gmp gnu-getopt \
gnu-sed gnu-tar gnutls gpatch gputils grep guile icu4c intltool isl jemalloc libev \
libevent libffi libgcrypt libgpg-error libidn2 libmetalink libmpc libnet libpng libssh2 \
libtasn1 libtool libunistring libxml2 libxslt libyaml lz4 m4 make mercurial mpdecimal \
mpfr mtr ncurses nettle nghttp2 numpy openblas openldap openssl@1.1 openssl@3 p11-kit \
p7zip patchutils pcre pcre2 perl pkg-config python python-setuptools quilt readline \
rtmpdump ruby source-highlight sqlite ssdeep subversion swig tcl-tk unbound unzip \
utf8proc wget xz zlib zstd
cd /usr/local/bin
ln -s /usr/local/opt/make/libexec/gnubin/make make
ln -s gmake gnumake
ln -s gstat stat
sudo nano /etc/shells
/usr/local/bin/bash
chsh -s /usr/local/bin/bash
exit
git clone https://github.com/httpstorm/openwrt.git
cd openwrt
git checkout gvalkov
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig
make menuconfig
make -j 16
|